#ifndef EETC_H_
#define EETC_H_

#include "Eet.h"

/* put here the definition of every struct that is being parsed */

typedef struct _Eetc_Member Eetc_Member;
typedef struct _Eetc_Descriptor Eetc_Descriptor;
typedef struct _Eetc_Type Eetc_Type;
typedef struct _Eetc_Declarator Eetc_Declarator;

struct _Eetc_Declarator
{
	char *name;
	int indirection; 
	int count;
};

struct _Eetc_Member
{
	Eetc_Declarator declarator;
	Eetc_Descriptor *sub;
	int g_type;
	int t_type;
};

struct _Eetc_Descriptor
{
	Eina_List *members;
	char *name;
};

struct _Eetc_Type
{
	char *name;
	Eetc_Descriptor *descriptor;
};

extern Eina_List *descriptors;
extern Eina_Hash *types;

#endif
